function wxconfig(appId, timestamp, nonceStr, signature) {

	wx.config({
		debug : false, //
		appId : appId, // 必填，公众号的唯一标识
		timestamp : timestamp, // 必填，生成签名的时间戳
		nonceStr : nonceStr, // 必填，生成签名的随机串
		signature : signature,// 必填，签名，见附录1
		jsApiList : [ 'onMenuShareTimeline', 'onMenuShareQQ',
				'onMenuShareQZone', 'onMenuShareAppMessage', 'showOptionMenu',
				'getLocation','chooseImage','previewImage','uploadImage' ]
	});
}
